package com.kb.service.impl.flow;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.kb.dto.flow.DisposalOrderNumber;
import com.kb.mapper.pg.FlowMapper;
import com.kb.service.flow.CustComplaintService;
import groovy.util.logging.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.*;

@DS("Cust_Complaint")
@Service
@Slf4j
public class CustComplaintServiceImpl implements CustComplaintService {

    @Resource
    private FlowMapper flowMapper;

    @Override
    public List<DisposalOrderNumber> getDisposalOrderNumber(String object) {
        //将查询结果封装到list中
        List<DisposalOrderNumber> list = flowMapper.queryCustomerComplaint(object);
        return list;
    }
}
